home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-03-23 | 13.2 KB | 414 lines | [TEXT/ROSA] |
- Common Lisp the Language, 2nd Edition
- -------------------------------------------------------------------------------
-
- Contents
-
- * Preface SECOND EDITION
- * Acknowledgments SECOND EDITION
- * Acknowledgments FIRST EDITION (1984)
-
- * 1. Introduction
- o Purpose
- o Notational Conventions
- + Decimal Numbers
- + Nil, False, and the Empty List
- + Evaluation, Expansion, and Equivalence
- + Errors
- + Descriptions of Functions and Other Entities
- + The Lisp Reader
- + Overview of Syntax
-
- * 2. Data Types
- o Numbers
- + Integers
- + Ratios
- + Floating-Point Numbers
- + Complex Numbers
- o Characters
- + Standard Characters
- + Line Divisions
- + Non-standard Characters
- + Character Attributes
- + String Characters
- o Symbols
- o Lists and Conses
- o Arrays
- + Vectors
- + Strings
- + Bit-Vectors
- o Hash Tables
- o Readtables
- o Packages
- o Pathnames
- o Streams
- o Random-States
- o Structures
- o Functions
- o Unreadable Data Objects
- o Overlap, Inclusion, and Disjointness of Types
-
- * 3. Scope and Extent
-
- * 4. Type Specifiers
- o Type Specifier Symbols
- o Type Specifier Lists
- o Predicating Type Specifiers
- o Type Specifiers That Combine
- o Type Specifiers That Specialize
- o Type Specifiers That Abbreviate
- o Defining New Type Specifiers
- o Type Conversion Function
- o Determining the Type of an Object
- o Type Upgrading
-
- * 5. Program Structure
- o Forms
- + Self-Evaluating Forms
- + Variables
- + Special Forms
- + Macros
- + Function Calls
- o Functions
- + Named Functions
- + Lambda-Expressions
- o Top-Level Forms
- + Defining Named Functions
- + Declaring Global Variables and Named Constants
- + Control of Time of Evaluation
-
- * 6. Predicates
- o Logical Values
- o Data Type Predicates
- + General Type Predicates
- + Specific Data Type Predicates
- o Equality Predicates
- o Logical Operators
-
- * 7. Control Structure
- o Constants and Variables
- + Reference
- + Assignment
- o Generalized Variables
- o Function Invocation
- o Simple Sequencing
- o Establishing New Variable Bindings
- o Conditionals
- o Blocks and Exits
- o Iteration
- + Indefinite Iteration
- + General Iteration
- + Simple Iteration Constructs
- + Mapping
- + The ``Program Feature''
- o Structure Traversal and Side Effects
- o Multiple Values
- + Constructs for Handling Multiple Values
- + Rules Governing the Passing of Multiple Values
- o Dynamic Non-Local Exits
-
- * 8. Macros
- o Macro Definition
- o Macro Expansion
- o Destructuring
- o Compiler Macros
- o Environments
-
- * 9. Declarations
- o Declaration Syntax
- o Declaration Specifiers
- o Type Declaration for Forms
-
- * 10. Symbols
- o The Property List
- o The Print Name
- o Creating Symbols
-
- * 11. Packages
- o Consistency Rules
- o Package Names
- o Translating Strings to Symbols
- o Exporting and Importing Symbols
- o Name Conflicts
- o Built-in Packages
- o Package System Functions and Variables
- o Modules
- o An Example
-
- * 12. Numbers
- o Precision, Contagion, and Coercion
- o Predicates on Numbers
- o Comparisons on Numbers
- o Arithmetic Operations
- o Irrational and Transcendental Functions
- + Exponential and Logarithmic Functions
- + Trigonometric and Related Functions
- + Branch Cuts, Principal Values, and Boundary Conditions in the
- Complex Plane
- o Type Conversions and Component Extractions on Numbers
- o Logical Operations on Numbers
- o Byte Manipulation Functions
- o Random Numbers
- o Implementation Parameters
-
- * 13. Characters
- o Character Attributes
- o Predicates on Characters
- o Character Construction and Selection
- o Character Conversions
- o Character Control-Bit Functions
-
- * 14. Sequences
- o Simple Sequence Functions
- o Concatenating, Mapping, and Reducing Sequences
- o Modifying Sequences
- o Searching Sequences for Items
- o Sorting and Merging
-
- * 15. Lists
- o Conses
- o Lists
- o Alteration of List Structure
- o Substitution of Expressions
- o Using Lists as Sets
- o Association Lists
-
- * 16. Hash Tables
- o Hash Table Functions
- o Primitive Hash Function
-
- * 17. Arrays
- o Array Creation
- o Array Access
- o Array Information
- o Functions on Arrays of Bits
- o Fill Pointers
- o Changing the Dimensions of an Array
-
- * 18. Strings
- o String Access
- o String Comparison
- o String Construction and Manipulation
-
- * 19. Structures
- o Introduction to Structures
- o How to Use Defstruct
- o Using the Automatically Defined Constructor Function
- o Defstruct Slot-Options
- o Defstruct Options
- o By-Position Constructor Functions
- o Structures of Explicitly Specified Representational Type
- + Unnamed Structures
- + Named Structures
- + Other Aspects of Explicitly Specified Structures
-
- * 20. The Evaluator
- o Run-Time Evaluation of Forms
- o The Top-Level Loop
-
- * 21. Streams
- o Standard Streams
- o Creating New Streams
- o Operations on Streams
-
- * 22. Input/Output
- o Printed Representation of Lisp Objects
- + What the Read Function Accepts
- + Parsing of Numbers and Symbols
- + Macro Characters
- + Standard Dispatching Macro Character Syntax
- + The Readtable
- + What the Print Function Produces
- o Input Functions
- + Input from Character Streams
- + Input from Binary Streams
- o Output Functions
- + Output to Character Streams
- + Output to Binary Streams
- + Formatted Output to Character Streams
- o Querying the User
-
- * 23. File System Interface
- o File Names
- + Pathnames
- + Case Conventions
- + Structured Directories
- + Extended Wildcards
- + Logical Pathnames
- + Syntax of Logical Pathname Namestrings
- + Parsing of Logical Pathname Namestrings
- + Using Logical Pathnames
- + Examples of the Use of Logical Pathnames
- + Discussion of Logical Pathnames
- + Pathname Functions
- o Opening and Closing Files
- o Renaming, Deleting, and Other File Operations
- o Loading Files
- o Accessing Directories
-
- * 24. Errors
- o General Error-Signaling Functions
- o Specialized Error-Signaling Forms and Macros
- o Special Forms for Exhaustive Case Analysis
-
- * 25. Miscellaneous Features
- o The Compiler
- + Compiler Diagnostics
- + Compiled Functions
- + Compilation Environment
- + Similarity of Constants
- o Documentation
- o Debugging Tools
- o Environment Inquiries
- + Time Functions
- + Other Environment Inquiries
- o Identity Function
-
- * 26. Loop
- o Introduction
- o How the Loop Facility Works
- o Parsing Loop Clauses
- + Order of Execution
- + Kinds of Loop Clauses
- + Loop Syntax
- o User Extensibility
- o Loop Constructs
- o Iteration Control
- o End-Test Control
- o Value Accumulation
- o Variable Initializations
- o Conditional Execution
- o Unconditional Execution
- o Miscellaneous Features
- + Data Types
- + Destructuring
-
- * 27. Pretty Printing
- o Introduction
- o Pretty Printing Control Variables
- o Dynamic Control of the Arrangement of Output
- o Format Directive Interface
- o Compiling Format Control Strings
- o Pretty Printing Dispatch Tables
-
- * 28. Common Lisp Object System
- o Programmer Interface Concepts
- + Error Terminology
- + Classes
- + Defining Classes
- + Creating Instances of Classes
- + Slots
- + Accessing Slots
- + Inheritance
- + Inheritance of Methods
- + Inheritance of Slots and Slot Options
- + Inheritance of Class Options
- + Examples
- + Integrating Types and Classes
- + Determining the Class Precedence List
- + Topological Sorting
- + Examples
- + Generic Functions and Methods
- + Introduction to Generic Functions
- + Introduction to Methods
- + Agreement on Parameter Specializers and Qualifiers
- + Congruent Lambda-Lists for All Methods of a Generic
- Function
- + Keyword Arguments in Generic Functions and Methods
- + Method Selection and Combination
- + Determining the Effective Method
- + Standard Method Combination
- + Declarative Method Combination
- + Built-in Method Combination Types
- + Meta-objects
- + Metaclasses
- + Standard Metaclasses
- + Standard Meta-objects
- + Object Creation and Initialization
- + Initialization Arguments
- + Declaring the Validity of Initialization Arguments
- + Defaulting of Initialization Arguments
- + Rules for Initialization Arguments
- + Shared-Initialize
- + Initialize-Instance
- + Definitions of Make-Instance and Initialize-Instance
- + Redefining Classes
- + Modifying the Structure of Instances
- + Initializing Newly Added Local Slots
- + Customizing Class Redefinition
- + Extensions
- + Changing the Class of an Instance
- + Modifying the Structure of an Instance
- + Initializing Newly Added Local Slots
- + Customizing the Change of Class of an Instance
- + Reinitializing an Instance
- + Customizing Reinitialization
- o Functions in the Programmer Interface
-
- * 29. Conditions
- o Introduction
- o Changes in Terminology
- o Survey of Concepts
- + Signaling Errors
- + Trapping Errors
- + Handling Conditions
- + Object-Oriented Basis of Condition Handling
- + Restarts
- + Anonymous Restarts
- + Named Restarts
- + Restart Functions
- + Comparison of Restarts and Catch/Throw
- + Generalized Restarts
- + Interactive Condition Handling
- + Serious Conditions
- + Non-Serious Conditions
- + Condition Types
- + Signaling Conditions
- + Resignaling Conditions
- + Condition Handlers
- + Printing Conditions
- o Program Interface to the Condition System
- + Signaling Conditions
- + Assertions
- + Exhaustive Case Analysis
- + Handling Conditions
- + Defining Conditions
- + Creating Conditions
- + Establishing Restarts
- + Finding and Manipulating Restarts
- + Warnings
- + Restart Functions
- + Debugging Utilities
- o Predefined Condition Types
-
- * A. Series
- o Introduction
- o Series Functions
- + Scanners
- + Mapping
- + Truncation and Other Simple Transducers
- + Conditional and Other Complex Transducers
- + Collectors
- + Alteration of Series
- o Optimization
- + Basic Restrictions
- + Constraint Cycles
- + Defining New Series Functions
- + Declarations
- o Primitives
-
- * B. Generators and Gatherers
- o Introduction
- o Generators
- o Gatherers
- o Discussion
-
- * C. Backquote
-
- * References
- * Index
-
- * About this document ...
-
- -------------------------------------------------------------------------------
-
-